//
//  ShellSysMessageModel.m
//  VVBTC
//
//  Created by lvzhao on 2019/7/11.
//  Copyright © 2019  吕VV. All rights reserved.
//

#import "ShellSysMessageModel.h"

@implementation ShellSysMessageModel
+ (NSDictionary *)mj_replacedKeyFromPropertyName{
    
    return @{@"messageId":@"id"};
}

/**
 *  当字典转模型完毕时调用
 */
- (void)mj_keyValuesDidFinishConvertingToObject{
    
    self.content = [self.content stringByReplacingOccurrencesOfString:@"\\n" withString:@"\n"];
    self.content = [self.content stringByReplacingOccurrencesOfString:@"\\r" withString:@"\r"];
    
    self.detailHeight = [self.content lz_textHeightWithFontSize:k_textFont(14) withMaxWidth:K_SCREENWIDTH - 30];
    self.cellHeight  = self.detailHeight + 72 + 34;
    
}


@end
